package em;

public enum ResuleEnum {
    SUCCESS(10000,"操作成功"),
    ERROR(10001,"操作失败"),
    UNKNOWNACCOUNT_ERROR(10002,"账号不存在"),
    INCORRECT_ERROR(10003,"密码错误"),
    YANZHENGMANO_ERROR(10004,"验证码不正确"),
    SHENHENO_ERROR(10005,"未审核");


    private Integer index;
    private String name;

    ResuleEnum(Integer index, String name) {
        this.index = index;
        this.name = name;
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
